<div ng-controller="stadiumsCtrl">
	<div class="container">
		<div class="row">
			<div class="col-md-5">
				<div><img src="http://www.1yd.me/images/new/s1.png" alt=""></div>
			</div>
			<div class="col-md-5 col-md-offset-2">
				<h1 style="font-size: 22px;color: #f4b21a">{{stadiumInfo.name}}</h1>
				<span class="glyphicon glyphicon-map-marker" style="width: 22px;height: 26px;color:#f4b21a "></span>
				地址：{{stadiumInfo.address}} 电话：{{stadiumInfo.telephone}}
			</div>
		</div>
	</div>
	<br>
	<br>
  <div class="container">
	  <div class="row">
	  <div class="col-md-9">

			   <div class="col-md-2" ng-repeat="item in datelist|limitTo:5">
                    <button
							class="btn btn-default btn-block"
							ng-class="{'btn-warning':currentDay==item}"
					>
						{{item.w}}
						<br>
						{{item.d|date:'MM-dd'}}
					</button>
			   </div>
			  <div class="col-md-2">
				  <button class="btn btn-block btn-default text-center" style="height:50px;line-height: 50px;font-size: 16px">
					  预定更多
				  </button>
			  </div>
		  </div>
		<!--右侧订单价格信息-->

	  </div>
	  <br>
	  <br>
	  <!--场地信息价格 时间-->
	  <div class="infexinxi">
		  <div class="row ">
			  <div class="text-right clearfix ablove">
				  <div class="text-center pull-right"><button class="btn btn-default col selected"><i class="glyphicon glyphicon-ok"></i></button><br />已选择场次</div>
				  <div class="text-center pull-right"><button class="btn btn-default col ordered active"></button><br />可预定</div>
				  <div class="text-center pull-right"><button class="btn btn-default col"></button><br />可预定</div>
			  </div>

			  <p style="height: 70px"></p>
			  <div class="col-md-1 no-padding col-md-offset-0" style="margin-left: 30px">
				  <div class="col"></div>
				  <div class="field_name" ng-repeat="item in stadiumFields "> {{item.field_name}}号场地</div>
			  </div>

			  <div class="col-md-10 field_wrapper">
				  <div ng-style="{'width':stadiumFields[0].field_resource.length*82+'px'}">
					  <button
							  ng-repeat="item in stadiumFields[0].field_resource"
							  class="btn btn-default col btn-clear"
					  >{{item.start_period}}</button>
				  </div>
				  <div class="" ng-repeat="item in stadiumFields" ng-style="{'width':stadiumFields[0].field_resource.length*82+'px'}">
					  <button
							  ng-click="setStatus(col)"
							  ng-class="{'active':col.resource_status=='ordered','selected':col.resource_status=='selected'}"
							  ng-repeat="col in item.field_resource"
							  class="btn btn-default col"
					  >
						  <i ng-show="col.resource_status=='selected'" class="glyphicon glyphicon-ok"></i>
						  <span ng-show="col.resource_status=='free'">{{col.price/100}}</span></button>
				  </div>
			  </div>

		  </div>
		  <div class="col-md-3 postfiex" >
			  <div class="selected-wrap">

				  <p ng-repeat="item in selectedFields" ng-if="selectedFields.length">
					  <button
							  class="btn btn-default">{{item.start_period}}-{{item.end_period}} {{item.field_name}}号场地  {{item.price/100}}元</button>
				  </p>
			  </div>
		  </div>
       </div>
	  <br>
	  <div>
		  <img src="http://www.1yd.me/images/new/econ.png" alt="">
	  </div>
	  <div class="container">
		  <div class="row" ng-repeat="item in comment">
			  <div class="col-md-1 photpcomt"><img src="{{item.user.user_photo}}" alt="">
			  </div>
			  <div class="col-md-2">
				  <span>{{item.user.user_name}}</span>
				  <p class="starsize">
					  <img src="http://www.1yd.me/images/new/star1.png" alt="">
					  <img src="http://www.1yd.me/images/new/star1.png" alt="">
					  <img src="http://www.1yd.me/images/new/star1.png" alt="">
					  <img src="http://www.1yd.me/images/new/star1.png" alt="">
					  <img src="http://www.1yd.me/images/new/star2.png" alt="">
				  </p>
			  </div>
			  <div class="col-md-6">
				  <span>{{item.comment}}</span>
			  </div>
			  <div class="col-md-2 datemove">
				  <span>{{item.creation_time|date:'yyyy-MM-dd hh:mm'}}</span>
			  </div>
		  </div>
		  <div class="col-md-4 col-md-offset-4 text-center">
			  <button class="btn btn-block btn-default " >加载更多</button>
		  </div>
		  <p class="heightp"></p>
		  <div>
			  <textarea class="col-md-12" rows="5"></textarea>
		  </div>
		  <p></p>
		  <div class="col-md-2">
			  <span>我要打分：</span>
			  <star score="num" style="color: yellow"></star>
		  </div>
	  </div>
	  <div class="col-md-3 col-md-offset-9 " >
		  <button class="btn btn-block btn-default">发表评论</button>
	  </div>
	  <p class="heightp"></p>
</div>
